package com.my.hp_hr.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * 员工档案表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class History {

	private static final long serialVersionUID = 1L;
	
	private int id;
	private int employee_number;//员工编号
	private String name;//姓名
	private String gender;//性别
	private Date birthday;//出生日期
	private String telephone;//联系电话
	private String email;//邮箱
	private String address;	//籍贯
	private String photo;//照片
	private String education;//学历
	private Date in_time;//入职时间
	private Date out_time;//离职时间
	private int department_number;//部门编号
	private int position_number;//职称编号
	private String status;//状态:在职、离职
	private String home;//家庭住址
	private String notes;//备注

	private String departmentName; //部门名称
	private String positionName;  // 职称名称

}
